﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Dora.Services.AdminUser.Dto.ViewDto
{
    public class HxOrgAndUserDto
    {

        #region model
        /// <summary>        /// 用户Id或组织机构Id        /// </summary>        public string Id { get; set; }

        /// <summary>        /// 用户昵称/组织机构名称        /// </summary>        public string Name { get; set; }

        /// <summary>        /// 树节点类型,org或user        /// </summary>        public string NodeType { get; set; }

        /// <summary>        /// 是否有下级，用户肯定没有下级        /// </summary>        public bool HasSub { get; set; }



        #region 类型是user时
        /// <summary>        /// 用户所属OrgId        /// </summary>        public int OrgId { get; set; }

        /// <summary>        /// 用户所属OrgName        /// </summary>        public string OrgName { get; set; }

        /// <summary>        /// 头像        /// </summary>        public string Avatar { get; set; }
        /// <summary>        /// 环信用户名        /// </summary>        public string HxUserName { get; set; }        #endregion        #endregion
    }
}
